package top.vanchor.myblog2back.service;

import com.github.pagehelper.PageInfo;
import top.vanchor.myblog2back.entity.BlogReport;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Ding
 * @since 2022-02-18
 */
public interface IBlogReportService extends IService<BlogReport> {

    int toReport(BlogReport bean);

    int isUserReported(BlogReport bean);

    PageInfo<BlogReport> getList(Integer pageNo, Integer pageSize, Integer type, Integer status);

    int toDeal(BlogReport report,Integer resultCode);

    BlogReport getReportById(Integer reportId);
}
